﻿<%@ Page Language="C#" MasterPageFile="~/TrangChu.master" AutoEventWireup="true"
    CodeFile="DangNhap.aspx.cs" Inherits="_Default" Title="Đăng Nhập" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script type="text/javascript">
        if (window.location.href == 'TrangChu') {  
            jQuery('#nav1 > ul > li > a:first').addClass('active');
        }

        jQuery(jQuery('#nav1> ul > li > a')[3]).addClass('active');
    </script>
    <div class="rightside" style="margin-left:-50px;margin-right:-20px;text-align: center; font-size: 12px;border: 1px solid #cccccc;height:auto; ">
<div style="width:100%;height:31px;background-image: url(Images/Bgcontent.png)">
    <div style="width:186px;float:left;padding-top:8px;">
                                <div class="div-titleContent" style="color:#B22222">
                                Đăng nhập
                                </div>
                                </div>
                                </div>
                                <div style="margin-top:10px;margin-bottom:10px;">
                                <asp:UpdatePanel id="UpdatePanel1" runat="server">
    
        <contenttemplate>
    <div >
    <table  cellspacing="0" style="width: 300px;border: solid 1px #CCCCCC;margin:0 auto;-moz-border-radius: 5px; -webkit-border-radius: 5px" >
        <tr>
            <td colspan="2" style="width: 100%;height: 12px;" class="headerbar">ĐĂNG NHẬP
            </td>
        </tr>
        <tr>
            <td style="width: 45%; height: 26px; text-align: right">User &nbsp;&nbsp; &nbsp;&nbsp; : &nbsp; &nbsp;</td>
            <td style="height: 26px; text-align: left;">
                    <asp:TextBox ID="txtUser" runat="server">admin</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 45%; text-align: right; height: 26px;">Password : &nbsp; &nbsp;  </td>
            <td style="text-align: left; height: 26px;">
                    <asp:TextBox ID="txtMK" runat="server" TextMode="Password" >123456</asp:TextBox></td>
            </tr>
        <tr>
            <td colspan="2" style="text-align: right; height: 26px; display: none;" >
                <asp:Label ID="lblKT" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnDangNhap" runat="server" OnClick="btnDangNhap_Click" Text="Đăng nhập"  Width="90px" />
                &nbsp; &nbsp;
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Hủy" PostBackUrl="~/TrangChu.aspx" Width="84px" /></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Label ID="lbl1" runat="server" Text="Bạn chưa có tài khoản ?"></asp:Label>
                <asp:HyperLink ID="lnkDangKy" runat="server" ForeColor="Blue" NavigateUrl="~/DangKy.aspx">Đăng ký</asp:HyperLink>
                <br />
                <asp:Label ID="lbl2" runat="server" Text="Quên Mật Khẩu"></asp:Label>
                <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Blue" NavigateUrl="~/QuenMatKhau.aspx">Quên Mật Khẩu</asp:HyperLink>
            </td>
        </tr>
    </table>
    </div>
    </contenttemplate>
    </asp:UpdatePanel>
    </div>
                                </div>
    
</asp:Content>
